package com.maxatime.common.enums;

public enum SystemReturnCodeEnum {

	OK("0", "正常"), DISABLE("1", "停用"), DELETED("2", "删除"), SUCCESS("0000", "交易成功"), ERROR("9999", "交易失败"),
	E0001("0001", "违反唯一索引");

	private final String code;
	private final String msg;

	SystemReturnCodeEnum(String code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public String getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}
}
